package com.rpg.world;


import android.content.Context;
import android.graphics.Canvas;
import android.view.View;

public class WorldView extends View {

	private WorldModel gameModel; 

	public WorldView(WorldModel gm, Context context) {
		super(context);
		gameModel = gm;
		setOnTouchListener(gameModel);
	}

	@Override
	public void onDraw(Canvas canvas) {
		super.onDraw(canvas);
		gameModel.onDraw(canvas);
	}
}
